package java67_adv8;

import java.io.Serializable;

public class Huiyuan implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String name;
	private String mima;
	private int jifen;
	private int kahao;
	private String riqi;

	public Huiyuan() {

	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMima() {
		return mima;
	}

	public void setMima(String mima) {
		this.mima = mima;
	}

	public int getJifen() {
		return jifen;
	}

	public void setJifen(int jifen) {
		this.jifen = jifen;
	}

	public int getKahao() {
		return kahao;
	}

	public void setKahao(int kahao) {
		this.kahao = kahao;
	}

	public String getRiqi() {
		return riqi;
	}

	public void setRiqi(String riqi) {
		this.riqi = riqi;
	}

	public String toString() {
		return "卡号     姓名：" + name + " 积分：" + jifen + " 开卡日期：" + riqi + "\n";
	}

	public Huiyuan(String name, String mima, int jifen, String riqi) {
		super();
		this.name = name;
		this.mima = mima;
		this.jifen = jifen;
		// this.kahao = kahao;
		this.riqi = riqi;
	}
}
